/*
* SeckillGoods.java
* Copyright(C) initcap
* @date 2018-08-08
*/
package cn.initcap.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Title seckill_goods表的实体类
 * @Author initcap
 * @Date 2018-08-08 20:49:42
 */
public class SeckillGoods {
    /**
     * @Fields id 秒杀的商品表
     */
    private Long id;

    /**
     * @Fields goodsId 商品Id
     */
    private Long goodsId;

    /**
     * @Fields seckillPrice 秒杀价
     */
    private BigDecimal seckillPrice;

    /**
     * @Fields stockCount 库存数量
     */
    private Integer stockCount;

    /**
     * @Fields startDate 秒杀开始时间
     */
    private Date startDate;

    /**
     * @Fields endDate 秒杀结束时间
     */
    private Date endDate;

    /**
     * 获取 秒杀的商品表 字段:seckill_goods.id
     *
     * @return seckill_goods.id, 秒杀的商品表
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 秒杀的商品表 字段:seckill_goods.id
     *
     * @param id the value for seckill_goods.id, 秒杀的商品表
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 商品Id 字段:seckill_goods.goods_id
     *
     * @return seckill_goods.goods_id, 商品Id
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 设置 商品Id 字段:seckill_goods.goods_id
     *
     * @param goodsId the value for seckill_goods.goods_id, 商品Id
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取 秒杀价 字段:seckill_goods.seckill_price
     *
     * @return seckill_goods.seckill_price, 秒杀价
     */
    public BigDecimal getSeckillPrice() {
        return seckillPrice;
    }

    /**
     * 设置 秒杀价 字段:seckill_goods.seckill_price
     *
     * @param seckillPrice the value for seckill_goods.seckill_price, 秒杀价
     */
    public void setSeckillPrice(BigDecimal seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    /**
     * 获取 库存数量 字段:seckill_goods.stock_count
     *
     * @return seckill_goods.stock_count, 库存数量
     */
    public Integer getStockCount() {
        return stockCount;
    }

    /**
     * 设置 库存数量 字段:seckill_goods.stock_count
     *
     * @param stockCount the value for seckill_goods.stock_count, 库存数量
     */
    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    /**
     * 获取 秒杀开始时间 字段:seckill_goods.start_date
     *
     * @return seckill_goods.start_date, 秒杀开始时间
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * 设置 秒杀开始时间 字段:seckill_goods.start_date
     *
     * @param startDate the value for seckill_goods.start_date, 秒杀开始时间
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * 获取 秒杀结束时间 字段:seckill_goods.end_date
     *
     * @return seckill_goods.end_date, 秒杀结束时间
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * 设置 秒杀结束时间 字段:seckill_goods.end_date
     *
     * @param endDate the value for seckill_goods.end_date, 秒杀结束时间
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}